package com.woniuxy.woniuticket.moviemodule.service;

import com.woniuxy.woniuticket.moviemodule.pojo.ScheduleMsg;
import com.woniuxy.woniuticket.pojo.CinemaMovies;
import com.woniuxy.woniuticket.pojo.CinemaSchedule;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface ScheduleService {
    int insertSchedule(CinemaMovies movies, CinemaSchedule schedule);

    List<ScheduleMsg> querySchedule();

    ScheduleMsg queryScheduleMsg(Integer scheduleId);

    int insertSchedule(CinemaSchedule schedule);

    List<ScheduleMsg> queryAllSchedule(Integer page,Integer size);

    int delSchedule(Integer[] scheduleids);

    int editSchedule(ScheduleMsg scheduleMsg);

    List<ScheduleMsg> queryScheduleMsgList(Integer scheduleId);

    List<ScheduleMsg>queryScheduleMsgTime(@Param("movieId") Integer movieId, @Param("begTime") String begTime);

    CinemaSchedule findById(Integer id);
}
